package zy.blue7.im.common.message;

/**
 * @Author: blue7
 * @Date: 2022/2/27 14:59
 * @Version 1.0
 * @Description
 */
public enum ChatType {
    SINGLE_CHAT(1, "单聊"),

    GROUP_CHAT(2, "群聊");

    private Integer code;
    private String type;

    ChatType(Integer code, String type) {
        this.code = code;
        this.type = type;
    }

    public Integer getCode() {
        return code;
    }

    public String getType() {
        return type;
    }
}
